<#include "header.ftl">
		<#if 0 == folder.fatherId>
		<@shishuo_folder_list_tag folderId=folder.folderId>
			<!--sidebar start-->
			<div class="left-side-nav">
				<ul class="nav nav-pills nav-stacked">
					<#list tag_folder_list as tag_folder>
						<li class="<#if tag_folder.folderId==folder.folderId>active</#if>" ><a class="subMenuTitle" href="<@shishuo_folder_url_tag folderId=tag_folder.folderId/>"><i class="icon-star"></i> ${tag_folder.name}</a><li>
					</#list>
				</ul>
			</div>
			<!--sidebar end-->	
		
			<div class="content-with-sidebar" style="margin-top:20px;">
				<#list tag_folder_list as tag_folder>
					<div class="col-sm-12">
						<p class="title-line">
							<span>${tag_folder.name}</span>
							<a class="fr" href="<@shishuo_folder_url_tag folderId=tag_folder.folderId/>">更多</a>
						</p>
						<table class="table">
							<@shishuo_article_list_tag folderId=tag_folder.folderId rows="5">
							<#list tag_article_list as tag_article>
							<tr>
								<td class="td-decoration"><p></p></td>
								<td class="td-title"><div class=".to-breakall"><a href="<@shishuo_article_url_tag articleId=tag_article.articleId/>">${tag_article.title}</a></div></td>
								<td class="td-date">${tag_article.createTime?string("yyyy-MM-dd")}</td>
							</tr>
							</#list>
							</@shishuo_article_list_tag>
						</table>
					</div>
				</#list>
			</div>
		</@shishuo_folder_list_tag>
		<#else>
			<@shishuo_folder_list_tag folderId=folder.fatherId>
				<!--sidebar start-->
				<div class="left-side-nav">
					<ul class="nav nav-pills nav-stacked">
						<#list tag_folder_list as tag_folder>
							<li class="<#if tag_folder.folderId==folder.folderId>active</#if>" ><a class="subMenuTitle" href="<@shishuo_folder_url_tag folderId=tag_folder.folderId/>"><i class="icon-star"></i> ${tag_folder.name}</a><li>
						</#list>
					</ul>
				</div>
				<!--sidebar end-->	
			
				<div class="content-with-sidebar" style="margin-top:20px;">
					<div class="col-sm-12">
						<p class="title-line">
							<span>${folder.name}</span>
						</p>
						<@shishuo_article_page_tag folderId=folder.folderId p=p rows="10">
						<table class="table">
							<#list tag_article_page.list as tag_article>
							<tr>
								<td class="td-decoration"><p></p></td>
								<td class="td-title"><div class=".to-breakall"><a href="<@shishuo_article_url_tag articleId=tag_article.articleId/>">${tag_article.title}</a></div></td>
								<td class="td-date">${tag_article.createTime?string("yyyy-MM-dd")}</td>
							</tr>
							</#list>
						</table>
						</@shishuo_article_page_tag>
						<div class="text-center">${tag_article_page.pageNumHtml}</div>
					</div>
				</div>
			</@shishuo_folder_list_tag>
		</#if>
	
<#include "footer.ftl">